Available AWS CloudWatch Metrics for Lambda Functions
Amazon CloudWatch provides a range of built-in metrics for monitoring AWS Lambda performance and behavior. These metrics help you understand how your function is performing and identify potential issues such as errors, timeouts, and throttling.
Invocations – Number of times the function is invoked.
Duration – Execution time of the function (in milliseconds).
Errors – Number of failed invocations due to function errors (excluding throttles and system faults).
Throttles – Number of invocation requests that were throttled due to concurrency limits.
IteratorAge – Age of the last record for stream-based invocations (e.g., DynamoDB, Kinesis).
ConcurrentExecutions – Number of function instances executing at a given time.
UnreservedConcurrentExecutions – Available concurrency not reserved for other functions.
ProvisionedConcurrencyUtilization – Usage of provisioned concurrency vs. what was allocated.
ProvisionedConcurrencyInvocations – Number of invocations handled by provisioned concurrency.
Diagnose performance bottlenecks and cold starts using Duration and ConcurrentExecutions.
Track availability and error rates with Errors and Throttles.
Adjust scaling and concurrency settings based on usage trends.
Monitor stream event sources using IteratorAge to prevent lag.